package com.dmtt.web.entity;

import lombok.Data;

import java.util.Date;

public class Agv {
    private Long id;

    private String name;

    private Long asgnAgvGroupId;

    private String carIpAddr;
    private String carMacAddr;
    private Integer crrRegPointCode;

    private String pointX;
    private String pointY;
    private String status;
    private String statusCode;

    private Integer currPage;

    public Integer getCurrPage() {
        return currPage;
    }

    public void setCurrPage(Integer currPage) {
        this.currPage = currPage;
    }
/*private Long agv_speed;
    private Integer agv_status;
    private String arrived_station_code;
    private Integer curr_mux_direction;
    private Integer curr_mux_level;
    private Integer curr_mux_state;
    private Long curr_raw_muxzone_id;
    private Long curr_super_muxzone_id;
    private Long curr_wait_muxzone_id;
    private Integer curr_wait_mxz_point_code;
    private Long current_line_id;
    private String current_point_code;
    private Long current_point_id;
    private Long current_subtask_id;
    private Long current_task_id;
    private Boolean is_enabled; // is enabled (true) or not :某些agv被禁用以进行备份
    private Boolean is_charging; // is charging (true) or not : 是否充电（正确）：agv在某些站点使用充电器充电。
    private Boolean is_jacking; // is jacking (true) or not : 是否顶升（真）：agv顶升表示agv顶升小车运行；不顶车意味着没有车就跑。
    private Boolean is_loaded;
    private Date last_regs_upd_date;
    private Integer lock_light_curtain_bits;
    private Integer malfunction;
    private String modbus_slave_id;
    private Long next_point_id;
    private String power;
    private Long prev_point_id;
    private Integer state;
    private Integer to_point_code;
    private Integer type;
    private Integer valid;
    private Long wait_muxzone_time;
    private Long asgn_charger_section_id;
    private Long asgn_standby_station_id;
    private String curr_alarm;*/

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getAsgnAgvGroupId() {
        return asgnAgvGroupId;
    }

    public void setAsgnAgvGroupId(Long asgnAgvGroupId) {
        this.asgnAgvGroupId = asgnAgvGroupId;
    }

    public String getCarIpAddr() {
        return carIpAddr;
    }

    public void setCarIpAddr(String carIpAddr) {
        this.carIpAddr = carIpAddr;
    }

    public String getCarMacAddr() {
        return carMacAddr;
    }

    public void setCarMacAddr(String carMacAddr) {
        this.carMacAddr = carMacAddr;
    }
    public Integer getCrrRegPointCode() {
        return crrRegPointCode;
    }

    public void setCrrRegPointCode(Integer crrRegPointCode) {
        this.crrRegPointCode = crrRegPointCode;
    }

    public String getPointX() {
        return pointX;
    }

    public void setPointX(String pointX) {
        this.pointX = pointX;
    }

    public String getPointY() {
        return pointY;
    }

    public void setPointY(String pointY) {
        this.pointY = pointY;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }
}
